package com.cxhome.cxinfox.routing;

import com.jfinal.plugin.activerecord.Db;
import com.traffic.managent.annotation.ModelBind;
import com.traffic.managent.base.SessionUser;

@ModelBind(table = "cx_modern_Routing", key = "ids")
public class ModernRouting extends SessionUser<ModernRouting> {

	private static final long serialVersionUID = 1L;
	public static final ModernRouting dao = new ModernRouting();

	public void deleteByidstoStatus(String ids, String updatePerson) {
		Db.update("update cx_modern_routing set updateTime=now(), status ='1',updatePerson=? where ids = ? ",
				updatePerson, ids);
	}
}
